import Vue from 'vue'
import VueRouter from 'vue-router'
import Counter from '../components/Counter.vue'

Vue.use(VueRouter);

const ohter = {
    template: '<div>ohter</div>'
};

const router = new VueRouter({
    routes: [
        { path: '/', component: Counter },
        { path: '/counter', component: Counter },
        { path: '/ohter', component: ohter },
    ]
});

export default router